<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<link href="<%=basePath%>css/jquery.slideBox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>js/jquery-1.8.3.js"></script>
<script src="<%=basePath%>js/jquery.slideBox.min.js" type="text/javascript"></script>

<style type="text/css">

	.font_style1{
		color:#400000;
		font-size:10pt;
		font-family:微软雅黑;
		font-weight:bold;
	}
	.selected_font{
		color:#3F9F00;
		font-size:10pt;
		font-family:微软雅黑;
		font-weight:bold;
	}

	 div#topicClassify a:link {color:#400000;text-decoration:none;font-size:10pt;font-family:微软雅黑;} /* 未访问的链接 */
	 div#topicClassify a:visited {color:#400000;text-decoration:none;font-size:10pt;font-family:微软雅黑;} /* 已访问的链接 */
	 div#topicClassify a:hover {color:#400000;text-decoration:underline;font-size:10pt;font-family:微软雅黑;} /* 鼠标移动到链接上 */
	 div#topicClassify a:active {color: #400000;text-decoration:underline;font-size:10pt;font-family:微软雅黑;} /* 选定的链接 */
</style>
<script>
jQuery(function($){
	//然后点击事件失效
	 $("#demo1").click(function(){
		  return false;
	 });
	$('#demo1').slideBox({
		delay : 3,//滚动延迟时间，单位：秒
		width:1000,
		height:600,
		hideClickBar : false,//不自动隐藏点选按键
	});
	$('#demo2').slideBox({
		direction : 'top',//left,top#方向
		duration : 0.3,//滚动持续时间，单位：秒
		easing : 'linear',//swing,linear//滚动特效
		delay : 3,//滚动延迟时间，单位：秒
		startIndex : 1,//初始焦点顺序
		hideClickBar : false,//不自动隐藏点选按键
		width:1000,
		height:600
	});
	$('#demo3').slideBox({
		duration : 0.3,//滚动持续时间，单位：秒
		easing : 'linear',//swing,linear//滚动特效
		delay : 3,//滚动延迟时间，单位：秒
		hideClickBar : false,//不自动隐藏点选按键
		clickBarRadius : 10,
		width:1000,
		height:600
	});
	$('#demo4').slideBox({
		hideBottomBar : true,//隐藏底栏
		width:1000,
		height:600
	});
});
</script>
	<div class="rightcase">
 	   <div style="min-height:700px;width:100%;margin:0 auto;background-color:#ffffff;"> 
       		<!-- 图片轮转 开始-->
       		<div id="demo3" class="slideBox" style="width: 1000px; height: 666px;">
			  <ul class="items">
			    <li><a href="" title=""><img src="images/items/item1.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item2.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item3.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item4.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item5.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item6.jpg"></a></li>
			    <li><a href="" title=""><img src="images/items/item7.jpg"></a></li>
			  </ul>
			</div>
			<!-- 图片轮转 开始-->
			
 	   		<div style="width:100%;height:20px;margin-top:10px;">
	 	   		<div style="width:55%;height:100%;margin-left:10px;float:left;">
					<a href="<%=basePath%>User_LoginAction"><img src="<%=basePath%>images/club_img2.png" width="15px" height="15px"></a>
					<!-- 判断是同龄圈还是医院圈 -->
					<s:if test="doctorinfo.doctorId!=null&&doctorinfo.doctorId!=0">
						<span style="font-size:10pt;font-family:微软雅黑;">>&nbsp;<a href="<%=basePath%>club_selectHosAction?clubid=<s:property value="club.clubCategoryId"/>" style="text-decoration:none;"><s:property value="club.clubName"/></a></span>
						<span style="font-size:10pt;font-family:微软雅黑;">>&nbsp;<s:property value="doctorinfo.doctorName"/>圈</span>
					</s:if>
					<s:else>
						<span style="font-size:10pt;font-family:微软雅黑;">>&nbsp;<s:property value="club.clubName"/>同龄圈</span>	
					</s:else>			
				 </div>
				 <div style="width:40%;height:100%;float:right;text-align:right;">
	 	   				<a href="<%=basePath%>club_initAddTopicAction?&orderflag=${pagebean.orderflag}&topicClassifyId=${pagebean.topicClassifyId}&page=${pagebean.currpage}&rows=${pagebean.rows}&clubid=<%=request.getParameter("clubid")%>&docid=${doctorinfo.doctorId}">
	 	   					<img alt="发表新帖" style="cursor: pointer;" title="发新帖" src="<%=basePath%>images/addTopic.png">
	 	   				</a>
	 	   		</div>
 	   		</div>
 	   		<div id="topicClassify" style="width:100%;height:40px;line-height:40px;">
 	   			<span class="font_style1">帖子分类：</span>
 	   			 <a href="<%=basePath%>club_selectClubAction?orderflag=${pagebean.orderflag}&topicClassifyId=0&page=${pagebean.currpage}&rows=${pagebean.rows}&clubid=<%=request.getParameter("clubid")%>&docid=${doctorinfo.doctorId}">
 	   			 	<s:if test="pagebean.topicClassifyId==0">
 	   			 	 	<span class="selected_font">全部</span>
   			 	 	</s:if>
   			 	 	<s:else>
   			 	 		全部
   			 	 	</s:else>
 	   			 </a>
 	   			 <s:iterator id="attr" value="topicClassifyList" status="u">
 	   			 	 <a href="<%=basePath%>club_selectClubAction?clubid=<%=request.getParameter("clubid")%>&topicClassifyId=<s:property value='#attr.topicClassifyId'/>&page=1&rows=${pagebean.rows}&orderflag=${pagebean.orderflag}&docid=${doctorinfo.doctorId}">
 	   			 	 <s:if test="#attr.topicClassifyId==pagebean.topicClassifyId">
 	   			 	 	<span class="selected_font"><s:property value="#attr.topicClassifyName"/></span>
   			 	 	</s:if>
   			 	 	<s:else>
   			 	 		<s:property value="#attr.topicClassifyName"/>
   			 	 	</s:else>
 	   			 	 </a>
 	   			 </s:iterator>
 	   		</div>
 	   		<div id="topicClassify" style="width:100%;height:40px;line-height:40px;">
 	   			<span class="font_style1"> 帖子排序：</span>
 	   			 <a href="<%=basePath%>club_selectClubAction?clubid=<%=request.getParameter("clubid")%>&topicClassifyId=${pagebean.topicClassifyId}&orderflag=0&page=${pagebean.currpage}&rows=${pagebean.rows}&docid=${doctorinfo.doctorId}">
 	   			 	<s:if test="pagebean.orderflag==0">
 	   			 		<span class="selected_font">发帖时间</span>
 	   			 	</s:if>
 	   			 	<s:else>
 	   			 		发帖时间
 	   			 	</s:else>
 	   			 </a>
 	   			 |<a href="<%=basePath%>club_selectClubAction?clubid=<%=request.getParameter("clubid")%>&topicClassifyId=${pagebean.topicClassifyId}&orderflag=1&page=${pagebean.currpage}&rows=${pagebean.rows}&docid=${doctorinfo.doctorId}">
 	   				<s:if test="pagebean.orderflag==1">
 	   			 		<span class="selected_font">最新回复</span>
 	   			 	</s:if>
 	   			 	<s:else>
 	   			 		 最新回复
 	   			 	</s:else>
 	   			 </a>
 	   			 |<a href="<%=basePath%>club_selectClubAction?clubid=<%=request.getParameter("clubid")%>&topicClassifyId=${pagebean.topicClassifyId}&orderflag=2&page=${pagebean.currpage}&rows=${pagebean.rows}&docid=${doctorinfo.doctorId}">
 	   			 	<s:if test="pagebean.orderflag==2">
 	   			 		<span class="selected_font">浏览量</span>
 	   			 	</s:if>
 	   			 	<s:else>
 	   			 		 浏览量
 	   			 	</s:else>
 	   			 </a>
 	   			 |<a href="<%=basePath%>club_selectClubAction?clubid=<%=request.getParameter("clubid")%>&topicClassifyId=${pagebean.topicClassifyId}&orderflag=3&page=${pagebean.currpage}&rows=${pagebean.rows}&docid=${doctorinfo.doctorId}">
 	   			 	<s:if test="pagebean.orderflag==3">
 	   			 		<span class="selected_font">回复量</span>
 	   			 	</s:if>
 	   			 	<s:else>
 	   			 		 回复量
 	   			 	</s:else>
 	   			 </a>
 	   		</div>
 	   		<div style="width:100%;height:auto;border:2px solid #A9D9DB">
 	   			

			
